Edit Task: SetPossibilityResourceSetupModes
Format
SCHED / EditTask '<TaskName>' SetPossibilityResourceSetupModes '<PossibilityName>' '<ResourceName>' <SetupStateApplies> '<UsableSetupModeList>'
Description
The SetPossibilityResourceSetupModes attribute under EditTask defines the usable resource state setup modes for a single task possibility.
Parameters
Parameter | Description |
---|---|
PossibilityName | A string of text with a comma delimited list of resources in the possibility, surrounded by single quotes. Order is not required and the resource names should not be in quotes. |
ResourceName | A string of text in single quotes of the resource name that is to be defined within the command. |
SetupStateApplies | A Boolean value. |
UsableSetupModesList | A string of text in single quotes of a comma delimited list of usable setup modes. Empty list is allowed if SetupStateApplies is false. A mode name specified that is not already part of the predefined modes for the resource will be added dynamically to the associated resource's capacity state definition permanently as the next free enumerated mode index. |
Examples
Set usable modes during setup for ResA in the possibility containing ResA and ResB
SCHED / EditTask 'TaskA' SetPossibilityResourceSetupModes 'ResA,ResB' 'ResA' True 'Blue,Red,Green'